@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto+Mono&display=swap');

:root {
  --bg: #0a0f1c;
  --primary: #00ffff;
  --text: #e0e0e0;
  --accent: #006666;
}

body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* ====== HERO ====== */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(180deg, #0a0f1c 0%, #001a1a 100%);
  border-bottom: 1px solid var(--accent);
}

.typing {
  font-family: 'Orbitron', sans-serif;
  color: var(--primary);
  font-size: 1.8rem;
  border-right: 3px solid var(--primary);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink 0.6s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.subtitle {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #aaa;
}

.buttons {
  margin-top: 30px;
}

.btn, .btn-outline, .btn-small {
  display: inline-block;
  margin: 5px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  transition: 0.3s;
}

.btn {
  background: var(--primary);
  color: #000;
  font-weight: bold;
}

.btn:hover, .btn-outline:hover, .btn-small:hover {
  background: var(--accent);
  color: #fff;
}

/* ====== SEÇÕES ====== */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: var(--primary);
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.sobre p, .contato p {
  text-align: center;
  line-height: 1.6;
}

/* ====== PROJETOS ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #0e1628;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 0 15px var(--primary);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary);
}

/* ====== CONTATO ====== */
.contato {
  text-align: center;
}

.socials a {
  margin: 0 10px;
  color: var(--primary);
  text-decoration: none;
}

.socials a:hover {
  text-decoration: underline;
}

/* ====== RODAPÉ ====== */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--accent);
  font-size: 0.9rem;
  color: #777;
}
